package main

import (
	"pig-manage/appconfig"
	"pig-manage/cahce"
	"pig-manage/moder"
	"pig-manage/router"
)

func main() {
	// 1.创建路由
	appconfig.Init()
	moder.Init()
	cahce.Init()
	r := router.Init()

	r.Run(":8000")
}
